<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Weather Query</title>
  <style>
    /* 简单添加一些样式，可根据喜好调整 */
    body {
      font-family: Arial, sans-serif;
    }

    input {
      padding: 5px;
      margin-bottom: 10px;
    }

    button {
      padding: 5px 10px;
    }
  </style>
</head>

<body>
  <h1>查询城市天气</h1>
  <input type="text" id="cityInput" placeholder="请输入城市名称">
  <button onclick="queryWeather()">查询</button>
  <div id="weatherResult"></div>

  <script src="script2.js"></script>
</body>

</html>